<?php

namespace apiend\modules\test\controllers;

use Yii;
use yii\log\Logger;

class LixController extends \yii\web\Controller {

    public function actionIndex() {

        // Yii::getLogger()->log("触发队列日志", Logger::LEVEL_ERROR);
        // return "Hello world";
        $queue = Yii::$app->queue;

        return $id = $queue->push(new \common\jobs\LixJob([
        ]));
    }

}
